<?php
namespace app\index\model;
use think\Db;
use think\Model;
class User extends Model
{
     public function adds($data)
     {
     	return Db::table('vip')->insert($data);
     }

     public function selAll($table)
     {
     	return Db::table('vip')->select();
     }

     public function del($id)
     {
     	return Db::table('vip')->delete($id);
     }
}
